From a5e0c983d01566982e34262439db2cb8f524a19c Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 12 Jan 2007 10:48:46 +0000 Subject: [PATCH] [XEN] Default to 80x50 VGA text console. Signed-off-by: Keir Fraser --- xen/drivers/video/vga.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/xen/drivers/video/vga.c b/xen/drivers/video/vga.c index 08a260a2b7..303210e466 100644 --- a/xen/drivers/video/vga.c +++ b/xen/drivers/video/vga.c @@ -557,7 +557,7 @@ static int vga_load_font(const struct font_desc *font, unsigned rows) static int vgacon_enabled = 0; static int vgacon_keep = 0; -static int vgacon_lines = 25; +static int vgacon_lines = 50; static const struct font_desc *font; static int xpos, ypos; @@ -606,12 +606,9 @@ void vga_init(void) case 60: font = &font_vga_8x8; break; - default: - vgacon_lines = 25; - break; } - if ( (font != NULL) && (vga_load_font(font, vgacon_lines) < 0) ) + if ( (font == NULL) || (vga_load_font(font, vgacon_lines) < 0) ) { vgacon_lines = 25; font = NULL; -- 2.30.2